home *** CD-ROM | disk | FTP | other *** search
- ;**************************************************
- ; Data File: Util.bcd
- ; Last Modified : 06-20-86
- ; Purpose : To provide Menu utility support for U.C.C.'s Batch Commander
- ;**************************************************
-
-
- T****** General Utilities *******
- oReturn to Previous Menu
- lMENU.BCD
-
- oDirectory listing
- iDrive "d:" {drive}
- iSubdirectory "\sub\" {sub}
- iFile Name "FILENAME.EXT" {filename}
- dSwitches /w to go wide
- d /p to pause
- iEnter switch(es) {switch}
- bcls
- bdir {drive}{sub}{filename}{switch}
- bpause
-
-
- oDirectory of A:
- bcls
- bdir a:/w/p
- becho Type Exit to Return to Batch Commander
- bcommand
-
- oDirectory of B:
- bcls
- bdir b:/w/p
- becho Type Exit to Return to Batch Commander
- bcommand
-
- oChange current Path
- iEnter new Path {npath}
- bpath {npath}
-
- oFormat Floppy in drive A:
- dFormatting with a System
- d(Bootable) requires a /S
- d
- dEnter /S if you want the disk
- ibootable {system}
- bformat a:/v{system}
-
- oFormat Floppy in drive B:
- dFormatting with a System
- d(Bootable) requires a /S
- d
- dEnter /S if you want the disk
- ibootable {system}
- bformat b:/v{system}
-
- oCheck the Disk
- iEnter the Drive {drv}
- dIn order to correct errors
- dyou must enter a /F
- iEnter "/F" to Correct errors {/f}
- bcls
- bchkdsk {drv}{/f}
- bpause
-
- oAssign a disk drive
- iFrom Disk Drive {from}
- iTo Disk Drive {to}
- bassign {from} = {to}
-
- oUn Assign a disk
- bassign
-
- oSet R/W Attribute
- iFile Name {file}
- d+ for on
- d- for off
- i+/- {on/off}
- bAttrib {on/off}R {file}
-
- oSet a Mode
- iEnter command {command}
- bmode {command}
-
- oDelete a file
- iEnter Directory {sub}
- iEnter File Name {file}
- bcls
- bif {file} == *.* goto abort
- becho del {sub}{file}
- bpause
- bdel {sub}{file}
- bgoto end
- b:abort
- becho Cannot Delete Entire Directory
- bpause
- b:end
-
-
- t********* Back Up *************
- oBack Entire Disk
- iFrom Disk {from}
- iTo Disk {to}
- bcls
- bBackup {from} {to}/s
-
- oBackup Only New Work
- iFrom Disk {from}
- iTo Disk {to}
- bcls
- bBackup {from} {to}/s/m
-
- oBackup Files Since Date
- iFrom Disk {from}
- iTo Disk {to}
- iFrom What Date {date}
- bcls
- bBackup {from} {to}/s/d {date}
-
-
- t*********** Programs *************
-
-
-
- oRun Basic
- iProgram Name {prog}
- dSwitches Can be used for
- dthe # of files /F:# the size of
- dfiles /S:# the com buffer as
- dwell as others. Enter a switch
- iif any {switch}
- bbasica {prog} {switch}
-
- oCompile Basic Programs
- iEnter Basic File Name {bfile}
- dSwitches are /E Error
- d /X Resume
- d /V Event Trap
- d /W Event Trap
- d /A List obj
- d /C Combuffer
- iMore .... hit return {junk}
- d /D Debug
- d /N Line #'s
- d /R Array Rows
- d /S Write String
- d /O No Basrun
- d /4/T Basic 80 see manual
- iEnter Switches {bswitch}
- iFile to link with {addfile}
- bbascom {bfile}{bswitch};
- blink {bfile} {addfile};
-
- oCompile Macro Assembler to Exe
- iEnter File Name {asmfile}
- iLink With {filelist}
- d switches
- d /DSALLOCATION
- d /High
- d /Line
- d /Map
- d /Pause
- d /Stack:size
- d /X
- d /O
- iSwitches {switch}
- bmasm {asmfile};
- blink {asmfile} {filelist} {switch};
-
-
- oCompile Macro Assembler to Com
- iEnter File Name {asmfile}
- iLink With {filelist}
- d switches
- d /DSALLOCATION
- d /High
- d /Line
- d /Map
- d /Pause
- d /Stack:size
- d /X
- d /O
- iSwitches {switch}
- bmasm {asmfile};
- blink {asmfile} {filelist} {switch};
- bexe2bin {asmfile} {asmfile}.com
-
- oTurbo Pascal
- bcd \pascal
- bturbo
- bcd \
-